package org.goldenport.g3

/**
 * @since   Mar. 19, 2010
 * @version Apr. 25, 2010
 * @author  ASAMI, Tomoharu
 **/
class G3Ticket(val id: G3TicketId,
               val job: Option[G3JobId],
               val transaction: Option[G3TransactionId],
               val unitofwork: Option[G3UnitofworkId],
               val context: G3Context) {
  def getResult: Option[G3Parcel] = {
    context.getResultParcel(this)
  }
}
